<div class="row" ms-controller="Test">
    <!--标题-->
    <div class="col-md-12">
        <div class="row">
            <button class="pull-right btn btn-info" data-toggle="modal" data-target="#myModal">添加知识点</button>
            <!-- 模态框（Modal） -->
            <div class="modal fade dialog" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
                 aria-hidden="true">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                            <h3 class="modal-title" id="myModalLabel" style="text-align: center">添加知识点</h3>
                        </div>
                        <div class="modal-body" style="margin-left: 15%">
                            <div class="input-group input-group-sm">
                            <span class="input-group-addon dialog-sp">层次</span>
                            <select class="form-control">
                            <option></option>
                            </select>
                            </div>
                            <br>
                            <div class="input-group input-group-sm">
                                <span class="input-group-addon dialog-sp">专业</span>
                                <select class="form-control">
                                    <option></option>
                                </select>
                            </div>
                            <br>
                            <div class="input-group input-group-sm">
                                <span class="input-group-addon dialog-sp">科目</span>
                                <select class="form-control">
                                    <option></option>
                                </select>
                            </div>
                            <br>
                            <div class="input-group input-group-sm">
                                <span class="input-group-addon dialog-sp">知识点</span>
                                <input class="form-control">
                            </div>
                            <br>
                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                            <button type="button" class="btn btn-primary" :click="@addPlan" data-dismiss="modal">提交
                            </button>
                        </div>
                    </div><!-- /.modal-content -->
                </div>
            </div>
            <div class="search_head col-md-8" style="margin-top: 10px">
                <span style=" font-size: 15px;">层次 </span>
                <select type="text" class="form-control" style=" display: inline-block;width: 180px;">
                    <option></option>
                </select>
                <span style=" font-size: 15px;">专业 </span>
                <select type="text" class="form-control" style=" display: inline-block;width: 180px;">
                    <option></option>
                </select>
                <span style=" font-size: 15px;">科目 </span>
                <select type="text" class="form-control" style=" display: inline-block;width: 180px;">
                    <option></option>
                </select>
                <button type="button" class="btn btn-default navbar-btn" style="margin-left: 20px"
                        ms-click="@waysallfn">查询
                </button>
            </div>
<!--列表-->
            <table class="table table-responsive table-bordered" style="margin: 50px 0;text-align: center;"
                >
                <thead style="word-break: keep-all;white-space: nowrap">
                <tr>
                    <!--<td><input type="checkbox">&nbsp;全选</td>-->
                    <!--<td style="display: none">UID</td>-->
                    <td style="min-width: 40px;text-align: right">#</td>
                    <td>层次</td>
                    <td>专业</td>
                    <td>科目</td>
                    <td>知识点</td>
                    <!--<td>填空题（分数）</td>-->
                    <!--<td>大题（分数）</td>-->
                    <!--<td>主观题（分数）</td>-->
                    <!--<td>总分</td>-->
                    <td style="min-width: 145px;">操作</td>
                </tr>
                </thead>
                <tbody>
                <tr ms-for="(k,v) in @waysall" class="ola-pointer">
                    <td style="text-align: right">
                        {{k+1}}
                    </td>
                    <td>
                        <input type="checkbox" style="display: none;">&nbsp;&nbsp;{{v.Name}}
                    </td>
                    <td>{{v.DXnumber}}道({{v.DXscore}}分/道)</td>
                    <td>{{v.DDXnumber}}道({{v.DDXscore}}分/道)</td>
                    <!--<td onclick="Translayer(v.CID)">Translayer({{v.CID}})</td>-->
                    <td>{{v.DTnumber}}道({{v.DTscore}}分/道)</td>
                    <!--<td>{{v.Score}}</td>-->
                    <!--<td>{{v.KID}}</td>-->
                    <!--<td>{{v.SID}}</td>-->
                    <!--<td></td>-->
                    <td>
                        <button class="btn btn-sm btn-link">修改</button>
                        <button class="btn btn-sm btn-link">删除</button>
                    </td>
                </tr>
                </tbody>
                <tfoot>
                <tr>
                    <td style="display: none;">
                        <input type="checkbox">全选
                    </td>
                    <td colspan="80">
                        <div class="row">
                            <button class="btn btn-sm btn-link" style="float: right;margin-right: 10%"> 批量删除</button>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="80">
                        <div class="row">
                            <div class="col-md-5">
                                <span>第&nbsp;</span><span>{{@Search.P}}</span><span>&nbsp;页</span>&nbsp;&nbsp;
                                <span>共&nbsp;</span><span>{{@Search.TP}}</span><span>&nbsp;页</span>
                            </div>
                            <div class="col-md-5">
                                <ul class="pagination" style="margin: 0 0 0 0;">
                                    <li :if="@waysall.P>1"><a :click="@waysall.P--">&laquo;</a></li>
                                    <li :for="v in @Search.Pages" :click="@Search.P=v"><a
                                            :class="[(@Search.P==v?'selected':'')]">{{v}}</a></li>
                                    <li :if="@Search.P<@Search.TP"><a :click="@Search.P++">&raquo;</a></li>
                                </ul>
                            </div>
                        </div>
                    </td>
                </tr>
                </tfoot>
            </table>


            <!-- 分页-->
            <div style="margin-bottom: 120px;">
            </div>
            <div :if="@html.length>0" class="layui-layer-shade" id="layui-layer-shade" times="1"
                 style="z-index:19891014; background-color:#000; opacity:0.3; filter:alpha(opacity=30);"></div>
            <div :if="@html.length>0" class="layui-layer layui-layer-page layui-layer-demo layer-anim-02"
                 type="page" times="1" showtime="0" contype="string"
                 style="z-index: 19891015; width: 80%; height: 80%; top: 87.5px; left: 144px;">
                <div id="" class="layui-layer-content" style="height: 698px;" ms-html="@html">
                </div>
                <span class="layui-layer-setwin"><a class="layui-layer-ico layui-layer-close layui-layer-close2"
                                                    href="javascript:;" :click-1="@html=''" :click-2="@Type='List'">

        </a></span><span class="layui-layer-resize"></span>
            </div>
        </div>
    </div>
</div>